package com.kclm.xsap.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Builder;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @Author : lvhx
 * @Date: 2025/6/20 10:31
 * @Description:
 */
@Data
@Builder
public class UserDTO {
    private Integer id;
    private String  userName;//角色名
    private String realName;//用姓名
    private String tel;//电话号码
    private  String  gender;//性别
    private String  avatarUrl;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private LocalDateTime registerTime;//注册时间
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private LocalDateTime lastLoginTime;//修改时间
}
